package com.example.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 销售退货主表
 * @author Administrator
 *
 */
public class Salesreturns {
	private String billno;      /*单据号码*/
	private String billdate;      /*单据日期*/
	private String custoshortid;   /*客户名称*/
	private Integer addrid; 		   /*地址编号*/
	private String custaddress;  /*地址名称*/
	private String auditstatus;    /*审核状态*/
	private String priceoftax;	    /*是否含税*/
	private String currname;	    /*币别名称*/
	private String wareid;	    /*仓库名称*/
	private String isdeduct;	    /*是否重新出库*/
	private double exchrate;	    /*汇率*/
	private String salesid;	    /*业务人员名称*/
	private int departid;	    /*部门名称*/
	private String maker;	    /*制单人员*/
	private String permitter;	    /*复核人员*/
	private double total;		    /*总金额*/
	private String prepayday;  	    /*收款日期*/
	private String dueto;	    /*账款归属*/
	private Date accmonth; 		    /*账款月份*/
	private String projectid; 	    /*所属项目*/
	private String memo; 	    /*备注*/
	private List<SalesreturnDetails> salesreturnDetails = new ArrayList<SalesreturnDetails>();
	public String getBillno() {
		return billno;
	}
	public void setBillno(String billno) {
		this.billno = billno;
	}
	public String getBilldate() {
		return billdate;
	}
	public void setBilldate(String billdate) {
		this.billdate = billdate;
	}
	public String getCustoshortid() {
		return custoshortid;
	}
	public void setCustoshortid(String custoshortid) {
		this.custoshortid = custoshortid;
	}
	public Integer getAddrid() {
		return addrid;
	}
	public void setAddrid(Integer addrid) {
		this.addrid = addrid;
	}
	public String getCustaddress() {
		return custaddress;
	}
	public void setCustaddress(String custaddress) {
		this.custaddress = custaddress;
	}
	public String getAuditstatus() {
		return auditstatus;
	}
	public void setAuditstatus(String auditstatus) {
		this.auditstatus = auditstatus;
	}
	public String getPriceoftax() {
		return priceoftax;
	}
	public void setPriceoftax(String priceoftax) {
		this.priceoftax = priceoftax;
	}
	public String getCurrname() {
		return currname;
	}
	public void setCurrname(String currname) {
		this.currname = currname;
	}
	public String getWareid() {
		return wareid;
	}
	public void setWareid(String wareid) {
		this.wareid = wareid;
	}
	public String getIsdeduct() {
		return isdeduct;
	}
	public void setIsdeduct(String isdeduct) {
		this.isdeduct = isdeduct;
	}
	public double getExchrate() {
		return exchrate;
	}
	public void setExchrate(double exchrate) {
		this.exchrate = exchrate;
	}
	public String getSalesid() {
		return salesid;
	}
	public void setSalesid(String salesid) {
		this.salesid = salesid;
	}
	public int getDepartid() {
		return departid;
	}
	public void setDepartid(int departid) {
		this.departid = departid;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public String getPrepayday() {
		return prepayday;
	}
	public void setPrepayday(String prepayday) {
		this.prepayday = prepayday;
	}
	public String getDueto() {
		return dueto;
	}
	public void setDueto(String dueto) {
		this.dueto = dueto;
	}
	public Date getAccmonth() {
		return accmonth;
	}
	public void setAccmonth(Date accmonth) {
		this.accmonth = accmonth;
	}
	public String getProjectid() {
		return projectid;
	}
	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public List<SalesreturnDetails> getSalesreturnDetails() {
		return salesreturnDetails;
	}
	public void setSalesreturnDetails(List<SalesreturnDetails> salesreturnDetails) {
		this.salesreturnDetails = salesreturnDetails;
	}
	public Salesreturns(String billno, String billdate, String custoshortid,
			Integer addrid, String custaddress, String auditstatus,
			String priceoftax, String currname, String wareid, String isdeduct,
			double exchrate, String salesid, int departid, String maker,
			String permitter, double total, String prepayday, String dueto,
			Date accmonth, String projectid, String memo) {
		super();
		this.billno = billno;
		this.billdate = billdate;
		this.custoshortid = custoshortid;
		this.addrid = addrid;
		this.custaddress = custaddress;
		this.auditstatus = auditstatus;
		this.priceoftax = priceoftax;
		this.currname = currname;
		this.wareid = wareid;
		this.isdeduct = isdeduct;
		this.exchrate = exchrate;
		this.salesid = salesid;
		this.departid = departid;
		this.maker = maker;
		this.permitter = permitter;
		this.total = total;
		this.prepayday = prepayday;
		this.dueto = dueto;
		this.accmonth = accmonth;
		this.projectid = projectid;
		this.memo = memo;
	}
	public Salesreturns() {
		super();
	}
	@Override
	public String toString() {
		return "Salesreturns [billno=" + billno + ", billdate=" + billdate
				+ ", custoshortid=" + custoshortid + ", addrid=" + addrid
				+ ", custaddress=" + custaddress + ", auditstatus="
				+ auditstatus + ", priceoftax=" + priceoftax + ", currname="
				+ currname + ", wareid=" + wareid + ", isdeduct=" + isdeduct
				+ ", exchrate=" + exchrate + ", salesid=" + salesid
				+ ", departid=" + departid + ", maker=" + maker
				+ ", permitter=" + permitter + ", total=" + total
				+ ", prepayday=" + prepayday + ", dueto=" + dueto
				+ ", accmonth=" + accmonth + ", projectid=" + projectid
				+ ", memo=" + memo + ", salesreturnDetails="
				+ salesreturnDetails + "]";
	}
}